package org.jkva.makebuilder.test.domain;

import net.jcip.annotations.Immutable;

/**
 *
 */
@Immutable
public class ConcreteClassExample {
    public static final String SOME_CONSTANT = "yada yada";

    private final String message;

    public ConcreteClassExample(String message) {
        this.message = message;
    }

    public String sayHello(String name) {
        return message + " " + name;
    }

    public static void main(String[] args) {
        final String message = new ConcreteClassExample("Hello").sayHello("Jan-Kees");
        System.out.println("message = " + message);
    }

    public String getMessage() {
        return message;
    }
}
